package com.csu.backmanagesys.Service;

import com.csu.backmanagesys.Domain.Account;
import com.csu.backmanagesys.Domain.Product;

import java.util.List;

public interface ProductService {


    public void insertProduct(
            String productId,
            String categoryId,
            String name,
            String description
    );

     public void deleteProduct(
            String productId
    );
    public List<Product> selectProduct();

    public List<Product> fuzzySelectProduct(String param);


    public void updateProduct(
            String productId,
            String categoryId,
            String name,
            String description
    );

    public void updateProductName(
            String name,String productId
    );


    public void updatePicture(
            String productId,
            String description
    );

    public List<Product> selectProductById(String id);

    public List<Product> selectProductByName(String name);


}
